﻿using System;

namespace BillsDomain
{
    /// <summary>
    /// Describes a list of items presented to a user for selection
    /// </summary>
    public interface ILookupList
    {
        /// <summary>
        /// Adds the specified item.
        /// </summary>
        /// <param name="item">The item.</param>
        void Add(object item);

        /// <summary>
        /// Clears this instance.
        /// </summary>
        void Clear();

        /// <summary>
        /// Gets or sets the selected item.
        /// </summary>
        /// <value>The selected item.</value>
        object SelectedItem { get; set; }
    }
}
